package cn.wolfcode.trip.base.domain;

import lombok.*;

/**
 * 商品表domain
 */
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class Product extends BaseDomain{

    public static final int type_digital = 1;               //3c数码
    public static final int type_Housewares = 2;            //家居家纺
    public static final int type_household_appliances = 3;  //家用电器
    public static final int type_kitchenware = 4;           //厨房小电
    public static final int type_snacks = 5;                //零食小吃
    public static final int type_drinks = 6;                //酒水饮料
    public static final int type_care_product = 7;          //个人护理
    public static final int type_apparel = 8;               //服装服饰
    public static final int type_new = 9;                   //新品推荐


    //商品名称
    private String productName;

    //购买商品所需价格
    private Double price;

    //商品图片
    private String imgUrl;

    //商品所属种类
    private Integer type;

    //信息
    private String info;

    //兑换商品所需积分
    private Double credits;

}